#!/bin/sh

set -e

PROJECT="${1}"
# all but first
ARGS="${@:2}"

if [ -z $1 ]; then
  echo "Must specify submodule"
  exit 1
fi

cd $PROJECT
./script/repl "$ARGS"
